home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1654 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.1 KB

  1. From: llunch@knuth.cba.csuohio.edu (Jason Baker)
  2. Subject: Re: MiNT 1.10 re-sync
  3. Date: Fri, 17 Jun 1994 10:41:13 -0400 (EDT)
  4. In-Reply-To: <21452.9406170657@elvis.earth.ox.ac.uk> from "Stephen Usher" at Jun 17, 94 07:57:20 am
  5.  
  6. > >Michael Hohmuth writes:
  7. > >
  8. > >> > 6. and now the sticky text/fragmentation megapatch...  does a few things:
  9. > >> 
  10. > >> > . execv..() frees the old process memory before allocating the new ones,
  11. > >> > and so no longer leaves holes in your memory map.  this took a few
  12. > >> > ugly hacks but i think its worth it :)  the only visible change should
  13. > >> > be when exec'ing a damaged binary the process gets killed, fixing that
  14. > >> > would require reading executables twice.
  15. > >> 
  16. > >> Well, that's fine with me, but I don't know whether this "non-posixish"
  17. > >> behaviour is tolerable by all others?  I guess so... as it effectively
  18. > >> makes "damaged executable" equivalent to "executable crashed immediately
  19. > >> after it has been run".
  20.     I don't know how shells actually handle interpreter files, but
  21. one way would be to do an exec..(), and if it has an invalid format
  22. check if it should be piped to an interpreter.
  23.  
  24.     Jason
  25.  
  26.